/**
 * Created by dazq on 16/11/23.
 */
import React, { Component } from 'react';
import { Router, Scene } from 'react-native-router-flux';

import PageOne from './page1';
import PageTwo from './page2';
import listView from './listView';
import giftedListView from './GiftedListView'
import SimpleChart from './ChartView'
import LoginPage from './LoginPage'

export default class App extends Component {
    render() {
        return (
            <Router>
                <Scene key="root" >
                    <Scene key="pageOne" component={PageOne} title="PageOne" />
                    <Scene key="pageTwo" component={PageTwo} title="PageTwo" />
                    <Scene key="listView" component={listView} title="listView" />
                    <Scene key="giftedListView" component={giftedListView} title="GiftedListView" />
                    <Scene key="SimpleChart" component={SimpleChart} title="SimpleChart"/>
                    <Scene key="LoginPage" component={LoginPage} title="登录" initial={true}></Scene>
                </Scene>
            </Router>
        )
    }
}